package com.codingapi.mybatisdemo2.client;

import org.springframework.stereotype.Component;

/**
 * @描述:
 * @创建人: ljf
 * @创建时间: 2018-04-10 15:51
 */
@Component
public class Demo1ClientHystric  implements  TestClient{

    @Override
    public int save() {
        System.out.println("进入熔断器");
        throw new RuntimeException("save 保存失败.");
    }
}
